package org.csmzxy.class2333;

public class Studeent2 {
    private String name;
    private int age;
    public Studeent2(String name,int age){
        this.name = name;
        this.age = age;
    }
    public String getName(){
        return name;
    }
    public int getAge(){
        return age;
    }

    @Override
    public String toString() {
        return "姓名："+name+"年龄："+age;

    }
}

